package com.hsmw.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hsmw.api.vo.HomeVolume;
import com.hsmw.domain.HsmwVehicleRefueling;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 司机加油 Mapper 接口
 * </p>
 *
 * @author tjy
 * @since 2021-07-23
 */
public interface HsmwVehicleRefuelingMapper extends BaseMapper<HsmwVehicleRefueling>, com.hsmw.common.base.BaseMapper<HsmwVehicleRefueling> {

    IPage<HsmwVehicleRefueling> getHsmwVehicleRefuelingList(IPage page, @Param("hsmwVehicleRefueling") HsmwVehicleRefueling hsmwVehicleRefueling);

    List<HomeVolume> findFulVolumeWeek(@Param("vehicleId") String vehicleId);

    List<HomeVolume> findFulVolumeDriverWeek(String id);
}
